<?php
include("inc/global.inc");
include("inc/page.php");
$url="jiekuan.php";
$thepage=$_GET['page']?$_GET['page']:1;
$maxpage=20;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>借款-小额借款，民间借款，无抵押借款，企业借款，三帝借贷网网上借款平台</title>
<meta name="description" content="三帝借贷网专注于企业和个人提供借款，小额借款，民间借款，企业借款，无抵押借款，网上借款等借款咨询和企业融资服务平台。" />
<meta name="keywords" content="借贷，借款网，小额借款，民间借款，无抵押借款，企业借款，网上借款，个人借款" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/head.css" rel="stylesheet" type="text/css" />
<link href="css/class.css" rel="stylesheet" type="text/css" />
<link href="css/foot.css" rel="stylesheet" type="text/css" /></head>
<body>
<div class="top">

<div class="topbox">
<div class="topleft">欢迎来到三帝贸易网&nbsp;<span class="301688"><a href="http://www.301688.com" target="_blank">301688.com</a></span> &nbsp; [<a href="/login/">登陆</a>] [<a href="/join/">免费注册</a>]</div>
<div class="topright" style="letter-spacing: 2px;"><a href="http://www.sandib2b.cn" target="_blank">三帝首页</a>|<a href="http://www.sandib2b.cn/supply" target="_blank">供应</a>|<a href="http://www.sandib2b.cn/buy" target="_blank">求购</a>|<a href="http://pifa.sandib2b.cn/" target="_blank">批发</a>|<a href="http://www.sandib2b.cn/company" target="_blank">公司库</a>|<a href="http://www.sandib2b.cn/expo" target="_blank">展会</a>|<a href="http://jm.sandib2b.cn/" target="_blank">加盟</a>|<a href="http://jd.sandib2b.cn/" target="_blank">借贷</a>|<a href="http://job.sandib2b.cn/" target="_blank">招聘</a>|<a href="http://zl.sandib2b.cn" target="_blank">资料</a>|<a href="http://zb.sandib2b.cn/" target="_blank">招标</a>|<a href="http://dh.sandib2b.cn/" target="_blank">导航</a></div>
<div class="onl"></div>
</div>

</div><div class="top1 topside6">
<div style="float:left;width:255px;"><a href="/"><img src="/images/jdlogo.gif" alt="三帝借贷网" width="245" height="62" border="0" /></a></div>
<div class="menutop"></div>
<div class="menubut">
<ul>
<li><a href="/">首页</a></li>
<li><a href="/daikuan.php">贷款</a></li>  
<li><a href="/jiekuan.php" class='hover'>借款</a></li>   
<li><a href="/news.php">资讯</a></li>
</ul>
<div class="onl"></div>
</div>
<div class="onl"></div>
</div>
<div class="menu">
  <div id="search_2">
<li style="padding-top:10px;width:335px;"></li>
</div>
</div>
<div class="city side1">
<?php $c_rs=@mysql_query("select * from city where city_id=0 order by order_name asc");
      while($c_row=@mysql_fetch_array($c_rs)){
?>
<a href="/jiedai/jiekuan-city<?=$c_row[id]?>-c0-q0.html" <?php if($_GET[pid]==$c_row[id]){echo "style='color:red'";}?>><?=$c_row[city_name]?></a>
<?php }?>
<div class="onl"></div>
</div>
<div id="mian" class="topside6">
<div class="title">您所在的位置：<a href="/">首页</a> >> 借款</div>
</div>
<div id="mian" class="topside20 downside6 side">
<script type="text/javascript">/*960*90底部，创建于2011-7-6*/ var cpro_id = 'u530503';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<div id="mian" class="topside6">
  <div class="leftmain rightside6">
  <div class="side">
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="27" colspan="2" class="title5">借款信息列表</td>
      </tr>
	<td width="64%">
  </table>
<?php
 $rs=@mysql_query("select * from jd_jiedai where jd_sh=1 order by id desc limit ".($thepage-1)*$maxpage.",$maxpage");
 $i=1;
 while($row=@mysql_fetch_array($rs)){
 $color=($i%2)?"#FAFAFA":"#FFFFFF";
?>
  <table width="690" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor=<?=$color?>>
    <tr>
      <td height="31" colspan="4"><h3 class="size14"><a href="/jiedai/jiekuan-<?=$row['id']?>.html" target="_blank"><?=$row[jd_title]?></a></h3></td>
    </tr>
	<?php $jd_lilv=explode("%",$row[jd_lilv]);?>
    <tr>
      <td width="186" height="11">借款金额：<strong><?=$row[jd_jiner]?>万元</strong></td>
      <td width="103">利 率：<strong><?php if($jd_lilv[0]){?><?=$row[jd_lilv]?><?php }else{echo "商谈";}?></strong></td>
      <td width="226">发布时间：<?=date("Y-m-d",strtotime($row[addtime]))?></td>
      <td width="135">联系人：<?=$row[jd_lianxiren]?></td>
    </tr>
    <tr>
      <td height="12">借款地区：<strong><?=$row[jd_city]?></strong></td>
      <td colspan="2">借款用途：<?=$row[jd_jkyt]?></td>
      <td><a href="/jiedai/jiekuan-<?=$row['id']?>.html" target="_blank"><img src="/images/xiangxi.gif" alt="查看详细" width="73" height="22" border="0" /></a></td>
    </tr>
    <tr>
      <td colspan="4">抵押说明：        <?=$row[jd_dyw]?></td>
    </tr>
  </table>
  <table width="690" border="0" align="center" cellpadding="0" cellspacing="5">
    <tr>
      <td height="1" bgcolor="#E7E7E7"></td>
    </tr>
  </table>
<?php $i++;}
$rs2=@mysql_query("select count(id) from jd_jiedai where jd_sh=1");
$totalrecord=@mysql_result($rs2,0);
@mysql_free_result($rs2);
$totalpage=ceil($totalrecord/$maxpage);
?>
  <!--page-->
<div class="page">
<div class="pageleft">
<ul>
<?php jiekuanpages($thepage,$totalpage,$maxpage,4);?>
</ul>
</div>
<div class="pageright">
<form name="pageform" method="post" action="" onSubmit="return onCheckPage()">
  共<?=$totalpage?>页　到 <input type="text" name="page" class="input-txt" size="5" maxlength="5">
  页<input type="submit" name="Submit" value="确定" class="but">
  </form>
<script language="javascript"> 
function onCheckPage(){
var page = parseInt(document.pageform.page.value); 
if(isNaN(page)){
alert("请输入数字(1,<?=$totalpage?>)");
return false; 
}
if(page<=0){
page =1; 
}
if(page ><?=$totalpage?>){
page=<?=$totalpage?>;
}
if(page>1){
document.pageform.action = "/jiekuan-p"+page+".html"; 
}else{
document.pageform.action = "/jiekuan-p1.html"; 
}
return true;
}
</script>
  </div>
<div class="onl"></div>
</div>
<!--page end-->
  </div>

  </div>
  <div class="rightmain">
  <div><a href="http://www.sandib2b.cn/login/" target="_blank"><img src="/images/main_01.gif" width="254" height="61" border="0" /></a><a href="/jd_post.php" target="_blank"><img src="/images/main_02.gif" width="254" height="61" border="0" /></a></div>
  <br />
<div class="side1 topside6">
<div class="title5 size14"><span><a href="/news.php">>>更多</a></span>资讯</div>
<dl sizcache="16" sizset="76">
<?php 
$rs=@mysql_query("select * from news where type_id=87 and n_sh=1 order by id desc limit 10");
while($row=@mysql_fetch_array($rs)){
?>   
 <dt sizcache="16" sizset="76"><span><?=date("m-d",strtotime($row[news_time]))?></span>·<a href="/jiedai/<?=date("Y-m-d",strtotime($row[news_time]))?>/<?=$row['id']?>.html" target="_blank"><?=mb_substr($row[news_title],0,14,'utf-8')?></a></dt>
<?php }?>
</dl>
  </div>
  <br />
<script type="text/javascript">/*250*250，借贷-创建于2011-11-9*/ var cpro_id = 'u672457';</script><script 

src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
   </div>
  <div class="onl"></div>
</div>
<div id="mian" class="topside20 downside6 side">
<script type="text/javascript">/*960*90底部，创建于2011-7-6*/ var cpro_id = 'u530503';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<br />
<?php include("inc/foot.php");?>
</body>
</html>
<script type="text/javascript">/*120*270，创建于2011-3-23*/ var cpro_id = 'u419785';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>